<div class="panel panel-default m-n">
    <div class="panel-heading">设置会员</div>
    <div class="panel-body">
        <form name="clientUpdateForm" class="bs-example form-horizontal ng-pristine ng-valid"  ng-submit="updateCard()">
            <div class="form-group padder-md">
                <label>客户身份</label>
                <div class="m-l-sm inline">
                    <div class="radio">
                        <label class="i-checks i-checks-sm">
                            <input type="radio" name="clientStatus" ng-model="clientUpdate.clientStatus" value="0">
                            <i></i>
                            非会员
                        </label>
                        <label class="i-checks i-checks-sm">
                            <input type="radio" name="clientStatus" ng-model="clientUpdate.clientStatus" value="1">
                            <i></i>
                            会员
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group padder-md" ng-if="clientUpdate.clientStatus==1">
                <label>会员卡</label>
                <select class="form-control w-sm inline m-r-xs m-l" name="member" ng-model="clientUpdate.memberCardId"
                        ng-options="m.id as m.cardName for m in memberCardVO" required>
                </select>
            </div>

            <div class="form-group">
                <div class="col-lg-12 text-right padder-md">
                    <button type="submit" class="btn btn-sm btn-info" ng-disabled="clientUpdateForm.$invalid">保存</button>
                    <div class="btn btn-sm btn-default" ng-click="cancel()">取消</div>
                </div>
            </div>
        </form>
    </div>
</div>

